\hypertarget{class_command}{
\section{Command Class Reference}
\label{class_command}\index{Command@{Command}}
}


Object representing a single line of code with all needed informations.  




{\ttfamily \#include $<$command.hpp$>$}

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{class_command_a6fd44f908023987877f4e383725edbeb}{commandType} \{ \par
\hyperlink{class_command_a6fd44f908023987877f4e383725edbebaf1ba389ff20077720ea12faf2eb19b3a}{COMMAND}, 
\hyperlink{class_command_a6fd44f908023987877f4e383725edbeba87cd885704b15749e9824634dc92ce71}{COMMENT}, 
\hyperlink{class_command_a6fd44f908023987877f4e383725edbebadc5f9ba3b5806c31c33f79c780013635}{LABEL}, 
\hyperlink{class_command_a6fd44f908023987877f4e383725edbeba44cf1028aad552833e53a3be969d5f03}{BLANK}, 
\par
\hyperlink{class_command_a6fd44f908023987877f4e383725edbebae89af950c286e98de965722806db1097}{DEFINITION}, 
\hyperlink{class_command_a6fd44f908023987877f4e383725edbeba07db295288897b0e39602b441e83d6f2}{ADDITIONAL}
 \}
\begin{DoxyCompactList}\small\item\em Representing the Type of a \hyperlink{class_command}{Command}. \item\end{DoxyCompactList}\item 
enum \hyperlink{class_command_aeadaa195a67d03f8ecb0897502a2370a}{argumentType} \{ \hyperlink{class_command_aeadaa195a67d03f8ecb0897502a2370aa70d45beba6bb515127e411625b40cb41}{THREEBIT}, 
\hyperlink{class_command_aeadaa195a67d03f8ecb0897502a2370aa3fdb63ae7a4dce65dd343582af243b7d}{SEVENBIT}, 
\hyperlink{class_command_aeadaa195a67d03f8ecb0897502a2370aab2b527e79d74e4a040d2c1935f9ce519}{EIGHTBIT}, 
\hyperlink{class_command_aeadaa195a67d03f8ecb0897502a2370aafdad3905235e79e02d776258fca9c056}{ELEVENBIT}
 \}
\begin{DoxyCompactList}\small\item\em Representing the different Types of Arguments. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_command_ab1483f94eeb19a8a78a849bf7c978c6f}{Command} (QObject $\ast$parent=0)
\item 
\hyperlink{class_command_ab552bb3a07fdd1acbfd8ea76e69b2278}{$\sim$Command} ()
\begin{DoxyCompactList}\small\item\em Destructor. \item\end{DoxyCompactList}\item 
void \hyperlink{class_command_a3fee31198286c03bf94ad16e4b4ae48e}{setAdressProgramMemory} (int adress)
\item 
void \hyperlink{class_command_aaa0b394d2e4a4dfd71359062d88065f6}{setOpCode} (int code)
\item 
void \hyperlink{class_command_ad8c5e30c6c9e99adea509e5ff1cf6cd6}{setArguments} (int arg)
\item 
void \hyperlink{class_command_ad4e33c6ce16f3817a9ddb344b327a249}{setLineNumber} (int line)
\item 
void \hyperlink{class_command_a7a4f391f934981abb84acc75c4353ff1}{setComment} (QString comment)
\item 
void \hyperlink{class_command_adc5e7b34b59e6eb9b4406503d758017c}{setLabel} (QString label)
\item 
void \hyperlink{class_command_a9864fab1868d3e8c4f4582cd627370fa}{setAssemblerCode} (QString asmCode)
\item 
void \hyperlink{class_command_a7f4253615845811659c0911a8e16af84}{setCommandType} (\hyperlink{class_command_a6fd44f908023987877f4e383725edbeb}{commandType} opType)
\item 
int \hyperlink{class_command_ab5dfa890200a75f4fa3d597dd567bce6}{getAddress} () const 
\item 
int \hyperlink{class_command_ad3878cfba4559d8d5d1d28fa71e55f0a}{getOpCode} () const 
\item 
int \hyperlink{class_command_aba28d4a7cdcf47a8dcbe0a42eee1c797}{getArgument} (\hyperlink{class_command_aeadaa195a67d03f8ecb0897502a2370a}{argumentType} argument) const 
\item 
int \hyperlink{class_command_ae77c6481a9b88a0899db70cdda8f22db}{getLineNumber} () const 
\item 
QString \hyperlink{class_command_af75f832ade3e1820d9d17bd2490a5b5f}{getLabel} () const 
\item 
QString \hyperlink{class_command_ac131be5112e447b1223c1bc6d001ffe3}{getComment} () const 
\item 
QString \hyperlink{class_command_a0be1c09c2e5362789e630efbc93c930f}{getAssembler} () const 
\item 
QString \hyperlink{class_command_a9eea27aecaed0525d6f9cc79a8041fa0}{getAnchor} () const 
\item 
\hyperlink{class_command_a6fd44f908023987877f4e383725edbeb}{commandType} \hyperlink{class_command_a2cf6f71c9e49ee77e2b199b794e6df3c}{getCommandType} () const 
\item 
QString \hyperlink{class_command_a174e9cf72112a90fff1ace00dcec1c13}{toString} () const 
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Object representing a single line of code with all needed informations. 

Definition at line 11 of file command.hpp.



\subsection{Member Enumeration Documentation}
\hypertarget{class_command_aeadaa195a67d03f8ecb0897502a2370a}{
\index{Command@{Command}!argumentType@{argumentType}}
\index{argumentType@{argumentType}!Command@{Command}}
\subsubsection[{argumentType}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Command::argumentType}}}
\label{class_command_aeadaa195a67d03f8ecb0897502a2370a}


Representing the different Types of Arguments. 

\begin{Desc}
\item[Enumerator: ]\par
\begin{description}
\index{THREEBIT@{THREEBIT}!Command@{Command}}\index{Command@{Command}!THREEBIT@{THREEBIT}}\item[{\em 
\hypertarget{class_command_aeadaa195a67d03f8ecb0897502a2370aa70d45beba6bb515127e411625b40cb41}{
THREEBIT}
\label{class_command_aeadaa195a67d03f8ecb0897502a2370aa70d45beba6bb515127e411625b40cb41}
}]\index{SEVENBIT@{SEVENBIT}!Command@{Command}}\index{Command@{Command}!SEVENBIT@{SEVENBIT}}\item[{\em 
\hypertarget{class_command_aeadaa195a67d03f8ecb0897502a2370aa3fdb63ae7a4dce65dd343582af243b7d}{
SEVENBIT}
\label{class_command_aeadaa195a67d03f8ecb0897502a2370aa3fdb63ae7a4dce65dd343582af243b7d}
}]\index{EIGHTBIT@{EIGHTBIT}!Command@{Command}}\index{Command@{Command}!EIGHTBIT@{EIGHTBIT}}\item[{\em 
\hypertarget{class_command_aeadaa195a67d03f8ecb0897502a2370aab2b527e79d74e4a040d2c1935f9ce519}{
EIGHTBIT}
\label{class_command_aeadaa195a67d03f8ecb0897502a2370aab2b527e79d74e4a040d2c1935f9ce519}
}]\index{ELEVENBIT@{ELEVENBIT}!Command@{Command}}\index{Command@{Command}!ELEVENBIT@{ELEVENBIT}}\item[{\em 
\hypertarget{class_command_aeadaa195a67d03f8ecb0897502a2370aafdad3905235e79e02d776258fca9c056}{
ELEVENBIT}
\label{class_command_aeadaa195a67d03f8ecb0897502a2370aafdad3905235e79e02d776258fca9c056}
}]\end{description}
\end{Desc}



Definition at line 27 of file command.hpp.

\hypertarget{class_command_a6fd44f908023987877f4e383725edbeb}{
\index{Command@{Command}!commandType@{commandType}}
\index{commandType@{commandType}!Command@{Command}}
\subsubsection[{commandType}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Command::commandType}}}
\label{class_command_a6fd44f908023987877f4e383725edbeb}


Representing the Type of a \hyperlink{class_command}{Command}. 

\begin{Desc}
\item[Enumerator: ]\par
\begin{description}
\index{COMMAND@{COMMAND}!Command@{Command}}\index{Command@{Command}!COMMAND@{COMMAND}}\item[{\em 
\hypertarget{class_command_a6fd44f908023987877f4e383725edbebaf1ba389ff20077720ea12faf2eb19b3a}{
COMMAND}
\label{class_command_a6fd44f908023987877f4e383725edbebaf1ba389ff20077720ea12faf2eb19b3a}
}]\index{COMMENT@{COMMENT}!Command@{Command}}\index{Command@{Command}!COMMENT@{COMMENT}}\item[{\em 
\hypertarget{class_command_a6fd44f908023987877f4e383725edbeba87cd885704b15749e9824634dc92ce71}{
COMMENT}
\label{class_command_a6fd44f908023987877f4e383725edbeba87cd885704b15749e9824634dc92ce71}
}]\index{LABEL@{LABEL}!Command@{Command}}\index{Command@{Command}!LABEL@{LABEL}}\item[{\em 
\hypertarget{class_command_a6fd44f908023987877f4e383725edbebadc5f9ba3b5806c31c33f79c780013635}{
LABEL}
\label{class_command_a6fd44f908023987877f4e383725edbebadc5f9ba3b5806c31c33f79c780013635}
}]\index{BLANK@{BLANK}!Command@{Command}}\index{Command@{Command}!BLANK@{BLANK}}\item[{\em 
\hypertarget{class_command_a6fd44f908023987877f4e383725edbeba44cf1028aad552833e53a3be969d5f03}{
BLANK}
\label{class_command_a6fd44f908023987877f4e383725edbeba44cf1028aad552833e53a3be969d5f03}
}]\index{DEFINITION@{DEFINITION}!Command@{Command}}\index{Command@{Command}!DEFINITION@{DEFINITION}}\item[{\em 
\hypertarget{class_command_a6fd44f908023987877f4e383725edbebae89af950c286e98de965722806db1097}{
DEFINITION}
\label{class_command_a6fd44f908023987877f4e383725edbebae89af950c286e98de965722806db1097}
}]\index{ADDITIONAL@{ADDITIONAL}!Command@{Command}}\index{Command@{Command}!ADDITIONAL@{ADDITIONAL}}\item[{\em 
\hypertarget{class_command_a6fd44f908023987877f4e383725edbeba07db295288897b0e39602b441e83d6f2}{
ADDITIONAL}
\label{class_command_a6fd44f908023987877f4e383725edbeba07db295288897b0e39602b441e83d6f2}
}]\end{description}
\end{Desc}



Definition at line 20 of file command.hpp.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_command_ab1483f94eeb19a8a78a849bf7c978c6f}{
\index{Command@{Command}!Command@{Command}}
\index{Command@{Command}!Command@{Command}}
\subsubsection[{Command}]{\setlength{\rightskip}{0pt plus 5cm}Command::Command (QObject $\ast$ {\em parent} = {\ttfamily 0})\hspace{0.3cm}{\ttfamily  \mbox{[}explicit\mbox{]}}}}
\label{class_command_ab1483f94eeb19a8a78a849bf7c978c6f}


Definition at line 4 of file command.cpp.

\hypertarget{class_command_ab552bb3a07fdd1acbfd8ea76e69b2278}{
\index{Command@{Command}!$\sim$Command@{$\sim$Command}}
\index{$\sim$Command@{$\sim$Command}!Command@{Command}}
\subsubsection[{$\sim$Command}]{\setlength{\rightskip}{0pt plus 5cm}Command::$\sim$Command ()}}
\label{class_command_ab552bb3a07fdd1acbfd8ea76e69b2278}


Destructor. 



Definition at line 10 of file command.cpp.



\subsection{Member Function Documentation}
\hypertarget{class_command_ab5dfa890200a75f4fa3d597dd567bce6}{
\index{Command@{Command}!getAddress@{getAddress}}
\index{getAddress@{getAddress}!Command@{Command}}
\subsubsection[{getAddress}]{\setlength{\rightskip}{0pt plus 5cm}int Command::getAddress () const}}
\label{class_command_ab5dfa890200a75f4fa3d597dd567bce6}


Definition at line 69 of file command.cpp.

\hypertarget{class_command_a9eea27aecaed0525d6f9cc79a8041fa0}{
\index{Command@{Command}!getAnchor@{getAnchor}}
\index{getAnchor@{getAnchor}!Command@{Command}}
\subsubsection[{getAnchor}]{\setlength{\rightskip}{0pt plus 5cm}QString Command::getAnchor () const}}
\label{class_command_a9eea27aecaed0525d6f9cc79a8041fa0}


Definition at line 129 of file command.cpp.

\hypertarget{class_command_aba28d4a7cdcf47a8dcbe0a42eee1c797}{
\index{Command@{Command}!getArgument@{getArgument}}
\index{getArgument@{getArgument}!Command@{Command}}
\subsubsection[{getArgument}]{\setlength{\rightskip}{0pt plus 5cm}int Command::getArgument ({\bf argumentType} {\em argument}) const}}
\label{class_command_aba28d4a7cdcf47a8dcbe0a42eee1c797}


Definition at line 81 of file command.cpp.

\hypertarget{class_command_a0be1c09c2e5362789e630efbc93c930f}{
\index{Command@{Command}!getAssembler@{getAssembler}}
\index{getAssembler@{getAssembler}!Command@{Command}}
\subsubsection[{getAssembler}]{\setlength{\rightskip}{0pt plus 5cm}QString Command::getAssembler () const}}
\label{class_command_a0be1c09c2e5362789e630efbc93c930f}


Definition at line 123 of file command.cpp.

\hypertarget{class_command_a2cf6f71c9e49ee77e2b199b794e6df3c}{
\index{Command@{Command}!getCommandType@{getCommandType}}
\index{getCommandType@{getCommandType}!Command@{Command}}
\subsubsection[{getCommandType}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Command::commandType} Command::getCommandType () const}}
\label{class_command_a2cf6f71c9e49ee77e2b199b794e6df3c}


Definition at line 135 of file command.cpp.

\hypertarget{class_command_ac131be5112e447b1223c1bc6d001ffe3}{
\index{Command@{Command}!getComment@{getComment}}
\index{getComment@{getComment}!Command@{Command}}
\subsubsection[{getComment}]{\setlength{\rightskip}{0pt plus 5cm}QString Command::getComment () const}}
\label{class_command_ac131be5112e447b1223c1bc6d001ffe3}


Definition at line 117 of file command.cpp.

\hypertarget{class_command_af75f832ade3e1820d9d17bd2490a5b5f}{
\index{Command@{Command}!getLabel@{getLabel}}
\index{getLabel@{getLabel}!Command@{Command}}
\subsubsection[{getLabel}]{\setlength{\rightskip}{0pt plus 5cm}QString Command::getLabel () const}}
\label{class_command_af75f832ade3e1820d9d17bd2490a5b5f}


Definition at line 111 of file command.cpp.

\hypertarget{class_command_ae77c6481a9b88a0899db70cdda8f22db}{
\index{Command@{Command}!getLineNumber@{getLineNumber}}
\index{getLineNumber@{getLineNumber}!Command@{Command}}
\subsubsection[{getLineNumber}]{\setlength{\rightskip}{0pt plus 5cm}int Command::getLineNumber () const}}
\label{class_command_ae77c6481a9b88a0899db70cdda8f22db}


Definition at line 105 of file command.cpp.

\hypertarget{class_command_ad3878cfba4559d8d5d1d28fa71e55f0a}{
\index{Command@{Command}!getOpCode@{getOpCode}}
\index{getOpCode@{getOpCode}!Command@{Command}}
\subsubsection[{getOpCode}]{\setlength{\rightskip}{0pt plus 5cm}int Command::getOpCode () const}}
\label{class_command_ad3878cfba4559d8d5d1d28fa71e55f0a}


Definition at line 75 of file command.cpp.

\hypertarget{class_command_a3fee31198286c03bf94ad16e4b4ae48e}{
\index{Command@{Command}!setAdressProgramMemory@{setAdressProgramMemory}}
\index{setAdressProgramMemory@{setAdressProgramMemory}!Command@{Command}}
\subsubsection[{setAdressProgramMemory}]{\setlength{\rightskip}{0pt plus 5cm}void Command::setAdressProgramMemory (int {\em adress})}}
\label{class_command_a3fee31198286c03bf94ad16e4b4ae48e}


Definition at line 15 of file command.cpp.

\hypertarget{class_command_ad8c5e30c6c9e99adea509e5ff1cf6cd6}{
\index{Command@{Command}!setArguments@{setArguments}}
\index{setArguments@{setArguments}!Command@{Command}}
\subsubsection[{setArguments}]{\setlength{\rightskip}{0pt plus 5cm}void Command::setArguments (int {\em arg})}}
\label{class_command_ad8c5e30c6c9e99adea509e5ff1cf6cd6}


Definition at line 30 of file command.cpp.

\hypertarget{class_command_a9864fab1868d3e8c4f4582cd627370fa}{
\index{Command@{Command}!setAssemblerCode@{setAssemblerCode}}
\index{setAssemblerCode@{setAssemblerCode}!Command@{Command}}
\subsubsection[{setAssemblerCode}]{\setlength{\rightskip}{0pt plus 5cm}void Command::setAssemblerCode (QString {\em asmCode})}}
\label{class_command_a9864fab1868d3e8c4f4582cd627370fa}


Definition at line 57 of file command.cpp.

\hypertarget{class_command_a7f4253615845811659c0911a8e16af84}{
\index{Command@{Command}!setCommandType@{setCommandType}}
\index{setCommandType@{setCommandType}!Command@{Command}}
\subsubsection[{setCommandType}]{\setlength{\rightskip}{0pt plus 5cm}void Command::setCommandType ({\bf commandType} {\em opType})}}
\label{class_command_a7f4253615845811659c0911a8e16af84}


Definition at line 63 of file command.cpp.

\hypertarget{class_command_a7a4f391f934981abb84acc75c4353ff1}{
\index{Command@{Command}!setComment@{setComment}}
\index{setComment@{setComment}!Command@{Command}}
\subsubsection[{setComment}]{\setlength{\rightskip}{0pt plus 5cm}void Command::setComment (QString {\em comment})}}
\label{class_command_a7a4f391f934981abb84acc75c4353ff1}


Definition at line 45 of file command.cpp.

\hypertarget{class_command_adc5e7b34b59e6eb9b4406503d758017c}{
\index{Command@{Command}!setLabel@{setLabel}}
\index{setLabel@{setLabel}!Command@{Command}}
\subsubsection[{setLabel}]{\setlength{\rightskip}{0pt plus 5cm}void Command::setLabel (QString {\em label})}}
\label{class_command_adc5e7b34b59e6eb9b4406503d758017c}


Definition at line 51 of file command.cpp.

\hypertarget{class_command_ad4e33c6ce16f3817a9ddb344b327a249}{
\index{Command@{Command}!setLineNumber@{setLineNumber}}
\index{setLineNumber@{setLineNumber}!Command@{Command}}
\subsubsection[{setLineNumber}]{\setlength{\rightskip}{0pt plus 5cm}void Command::setLineNumber (int {\em line})}}
\label{class_command_ad4e33c6ce16f3817a9ddb344b327a249}


Definition at line 39 of file command.cpp.

\hypertarget{class_command_aaa0b394d2e4a4dfd71359062d88065f6}{
\index{Command@{Command}!setOpCode@{setOpCode}}
\index{setOpCode@{setOpCode}!Command@{Command}}
\subsubsection[{setOpCode}]{\setlength{\rightskip}{0pt plus 5cm}void Command::setOpCode (int {\em code})}}
\label{class_command_aaa0b394d2e4a4dfd71359062d88065f6}


Definition at line 22 of file command.cpp.

\hypertarget{class_command_a174e9cf72112a90fff1ace00dcec1c13}{
\index{Command@{Command}!toString@{toString}}
\index{toString@{toString}!Command@{Command}}
\subsubsection[{toString}]{\setlength{\rightskip}{0pt plus 5cm}QString Command::toString () const}}
\label{class_command_a174e9cf72112a90fff1ace00dcec1c13}


Definition at line 141 of file command.cpp.



The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
\hyperlink{command_8hpp}{command.hpp}\item 
\hyperlink{command_8cpp}{command.cpp}\end{DoxyCompactItemize}
